API Documentation
MeshManager.h
1 // MeshManager.h
3 //
5 
6 namespace nkGraphics
7 {
13  class MeshManager final : public nkCommon::SingletonClass<MeshManager>
14  {
15  public :
16 
21 
35  Mesh* get (const nkMemory::StringView& name) const ;
44  Mesh* getByIndex (unsigned int index) const ;
51  void rename (const nkMemory::StringView& currentName, const nkMemory::StringView& newName) ;
57  void erase (const nkMemory::StringView& name) ;
58  } ;
59 }
nkGraphics::MeshManager::getByIndex
Mesh * getByIndex(unsigned int index) const
nkGraphics::MeshManager::~MeshManager
~MeshManager()
nkGraphics::MeshManager::erase
void erase(const nkMemory::StringView &name)
nkGraphics::MeshManager
Manages the meshes available in the component.
Definition: MeshManager.h:14
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::MeshManager::get
Mesh * get(const nkMemory::StringView &name) const
nkGraphics::MeshManager::createOrRetrieve
Mesh * createOrRetrieve(const nkMemory::StringView &name)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Mesh
Holds information about a mesh. Used as a basis to render 3d models.
Definition: Mesh.h:14
nkGraphics::MeshManager::rename
void rename(const nkMemory::StringView &currentName, const nkMemory::StringView &newName)